import request from '@/utils/request'

export function list(query) {
  return request({
    url: `/api/order/order/list`,
    method: 'get',
    params: query
  })
}

export function info(id) {
  return request({
    url: `/api/order/order/info/${id}`,
    method: 'get'
  })
}

export function changeStatus(id, status) {
  return request({
    url: `/api/order/order/changeStatus`,
    method: 'get',
    params: { id, status }
  })
}


